|
Cytosim
PI
Cytoskeleton Simulator
|
A Lock should be created to access the simulation state if it is running live. The constructor will stop the simulation at the next opportunity.
The thread will hold indefinitely until the lock is acquired.
The lock will be released when the Lock goes out of scope.
Public Member Functions | |
| Lock (SimThread *p) | |
| Stop the simulation, create a lock and call Simul::relax() | |
| ~Lock () | |
| Release the pthread lock. | |